package com.kgc.collection.remote;

import com.kgc.basic.util.ResponseMsg;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;

import java.util.Map;

public interface RefundApi {

    @RequestMapping("getRefundType")
    ResponseMsg getRefundType();

    @RequestMapping("getRefundPage")
    ResponseMsg getRefundPage(@RequestBody Map<String, Object> map);

    @RequestMapping("updateRefund")
    ResponseMsg updateRefund(@RequestBody Map<String, Object> map);

    @RequestMapping("addRefund")
    ResponseMsg addRefund(@RequestBody Map<String, Object> map);

    @RequestMapping("getRefund")
    ResponseMsg getRefund(@RequestBody Map<String, Object> map);

    @RequestMapping("modiRefund")
    ResponseMsg modiRefund(@RequestBody Map<String, Object> map);
}
